package com.jsh.erp.api;

import com.jsh.erp.datasource.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "jsh-system", path = "/jshERP-boot/api", contextId = "UserRemoteClient")
public interface UserRemoteClient {

    @GetMapping("/user/getCurrentUser")
    public User getCurrentUser() throws Exception;
}
